package ModelImplementation

import (
	"salary-payment/Model"
)

type SalariedClassification struct {
	itsSalary float64
}

func (sc *SalariedClassification) GetSalary() float64 {
	return sc.itsSalary
}

func (sc *SalariedClassification) CalculatePay(pc Model.Paycheck) float64 {
	return sc.itsSalary
}

func NewSalariedClassification(salary float64) *SalariedClassification {
	return &SalariedClassification{itsSalary: salary}
}
